{extend name="wap/default_new/base" /}
{block name="resources"}
<link href="__TEMP__/{$style}/public/css/team_list.css"  rel="stylesheet" type="text/css" />
{/block}
{block name="goodsHead"}
<section class="head">
	<a class="head_back" href="javascript:window.history.go(-1)"><i class="icon-back"></i></a>
	<div class="head-title">我的团队</div>
</section>
{/block}
{block name="main"}
<article class="team">
{if condition="!empty($team_list)"}
	{foreach name="team_list" item="team"}
	<div class="team-item">
		{if condition="$team['user_info']['user_headimg'] != ''"}
		<img src="__UPLOAD__/{$team['user_info']['user_headimg']}"/>
		{else/}
		<img src="__TEMP__/{$style}/public/images/detault_team_logo.png"/>
		{/if}
		<div class="team-info">
			<strong>{$team["user_info"]["nick_name"]}</strong>
			<strong class="role_name">({$team["role_name"]})</strong><br>
			{notempty name="$team['recommender_name']"}
			<strong class="role_user">推荐人：{$team["recommender_name"]}</strong><br>
			{/notempty}
			<time>注册时间：{:getTimeStampTurnTime($team["user_info"]["reg_time"])}</time>
		</div>
	</div>
	{/foreach}
{else/}
<p style="text-align: center;padding:50px;">您当前还没有团队哦</p>
{/if}
</article>
{/block}
{block name="bottom"}{/block}
{block name="javascript"}{/block}